/**
 * Created with IntelliJ IDEA.
 * User: truetroll
 * Date: 11/17/14
 * Time: 11:53 PM
 * To change this template use File | Settings | File Templates.
 */
package property
{
	public class Padding
	{
		
		/**
		 * лево право верх низ
		 * у нас инты, извините, идите нахуй со своими float  и Number
		 */
		public var up:int;
		public var down:int;
		public var left:int;
		public var right:int;
		
		public function Padding(up:int = 0, down:int = 0, left:int = 0, right:int = 0)
		{
			this.up = up;
			this.down = down;
			this.left = left;
			this.right = right;
		}
		
		public function isEmpty():Boolean
		{
			return (up == 0 && down == 0 && left == 0 && right == 0);
		}
	}
}
